#ifndef TUXIANGZITOU_H
#define TUXIANGZITOU_H
#include<QPainter>
#include<QKeyEvent>
#include<QMessageBox>
#include<QString>
#include<QImage>
#include<QEvent>
#include<QLabel>
#include<QtMultimedia/QMediaPlayer>
class boxGame{
public:
    boxGame();
    void Map();
    void drawmap(QPainter* Draw);
    void Keydown(QKeyEvent* event);
    int getrow();
    int getcols();
    bool gameover();
    void daw(QPainter* Draw);
protected:
    int map[7][10];  QMediaPlayer  * player;QMediaPlayer * eat; QLabel* win;
};




#endif // TUXIANGZITOU_H
